﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace CrushGame
{
    /// <summary>
    /// NOTE:: This inherits from a VERY basic interface, but in the future the 'Person'
    /// class will have much more to do.
    /// 
    /// Player Object, handles behaviours and interactions.
    /// </summary>
    public class Player : Person
    {
        Controller _controller;

        public Controller Controller
        {
            get { return _controller; }
            set { _controller = value; }
        }

        /// <summary>
        /// Overriden constructor
        /// </summary>
        public Player()
        {
            Location = new Vector2(10.0f, 10.0f);
            Velocity = new Vector2(25.0f, 2.0f);
        }

        /// <summary>
        /// Loads this person's sprite NOTE: Overwritten from Person
        /// </summary>
        /// <param name="Content">The Content Manager to load the person's assets through</param>
        /// <param name="OverrideImage">If a non-standard sprite for this person-type is needed, specify asset name here</param>
        public override void ContentInitialize(ContentManager Content, string OverrideImage = "")
        {
            base.ContentInitialize(Content, "PlayerFace");
        }
    }
}
